//
//  QRCodeDisplayView.h
//  EPTool
//
//  Created by guoshiqing on 2018/4/27.
//  Copyright © 2018年 云数动能科技. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^closeQRCodeView)(BOOL isClose);

@interface QRCodeDisplayView : UIView
@property (weak, nonatomic) IBOutlet UIView *QRCodeView;
@property (weak, nonatomic) IBOutlet UIImageView *QRCodeImageView;
@property (weak, nonatomic) IBOutlet UIButton *CloseQRCodeBtn;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *QRCodeViewHeightLayout;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *QRCodeViewCenterYLayout;

@property (copy, nonatomic) closeQRCodeView  block;

+(void)createQRCodeViewWithQRImage:(UIImage *)image andOffset:(CGPoint)offSet andCloseBlock:(closeQRCodeView)block;

@end
